<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>success</title>
  <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
  error.html</head>
<body>
<h1>登陆成功</h1>
<button id="main" >点击跳转主页面</button>

<script>
  $("#main").click(function () {
    Location.href = "users";
  })
</script>
</body>
</html>